package com.daniel.design.pattern.decorator;

/**
 * @ClassName FriedRice
 * @Description 炒面类（具体构件类角色）
 * @Author Daniel
 * @Version V1.0.0
 */
public class FriedNoodles extends FastFood {

    public FriedNoodles() {
        super(12, "炒面");
    }

    @Override
    public double cost() {
        return getPrice();
    }
}
